package com.hbisedm.interninfosys.intern.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Sam
 * @since 2020-12-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "MENU_ID", type = IdType.AUTO)
    private Integer menuId;

    @TableField(value = "PARENT_ID")
    private Integer parentId;

    @TableField("COMPONENT")
    private String component;

    @TableField("REDIRECT")
    private String redirect;

    @TableField("NAME")
    private String name;

    @TableField("TITLE")
    private String title;

    @TableField("ICON")
    private String icon;

    @TableField("PATH")
    private String path;

    @TableField("HIDDEN")
    private Boolean hidden;


}
